<?php
/**
 * 公共函数
 * [WeEngine System] Copyright (c) 2013 WE7.CC
 */
defined('IN_IA') or exit('Access Denied');

/**
 * 当前开发者信息
 * @param array $developer [ uid =>?]
 * @return array
 */
function current_developer($developer = null) {
	static $user = array();
	if (empty($user) && !empty($developer)) {
		$user = $developer;
	}
	return $user;
}
